//
//  Untitled001ViewController.h
//  Untitled001
//
//  Created by gyo on 10. 12. 2..
//  Copyright 2010 com2us. All rights reserved.
//

#import <UIKit/UIKit.h>

@class AsyncSocket;

@interface Untitled001ViewController : UIViewController {
	AsyncSocket *listenSocket;
	IBOutlet UIButton *m_UIConnectButton;
	IBOutlet UILabel *m_UILabel;
	
	IBOutlet UITextField *m_UISendText;
	IBOutlet UITextField *m_UIRecvText;
	IBOutlet UILabel *m_UISendResult;
	BOOL m_bConnect;
}

@property (retain, nonatomic) IBOutlet UIButton *m_UIConnectButton;
@property (retain, nonatomic) IBOutlet UILabel *m_UILabel;
@property (retain, nonatomic) IBOutlet UITextField *m_UISendText;
@property (retain, nonatomic) IBOutlet UITextField *m_UIRecvText;
@property (retain, nonatomic) IBOutlet UILabel *m_UISendResult;

- (id) init;
- (IBAction)backgroundClick:(id)sender;
- (void)logInfo:(NSString *)msg;
- (IBAction)startStop:(id)sender;
- (IBAction)sendText:(id)sender;

- (NSString*) stringWithUrl:(NSURL*)url;
- (IBAction) getJSONwithNet:(id)sender;

@end

